package com.tongandtang.bg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;


@Data
public class User implements Serializable {

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    private String username;

    private String password;

    private String phone;

    private String email;

    private String headIcon;

    private Integer groupId;

    private Long createTime;

    private Long lastTime;

    @TableLogic
    private Integer deleted;
}
